STEP 2: Let's add the spaceship sprite that the player will control.

  • Click on to open that section of the toolkit.
  • Drag Spaceship into your program, below the background code.

The spaceship is a sprite. A sprite is an object or character that you can move around on the stage.

  • Click Run to view your changes. Click Submit and Next to go to the next activity.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("space")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)